package com.gkj.blog.business.vo.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.gkj.blog.framework.object.BaseEntityVo;
import com.gkj.blog.persistence.po.SysResources;

import java.util.Date;
import java.util.List;

public class Resources extends BaseEntityVo {
    SysResources sysResources;

    public Resources() {
        this.sysResources=new SysResources();
        setAbstractDO(sysResources);
    }

    public Resources(SysResources sysResources) {

        this.sysResources = sysResources;
        setAbstractDO(sysResources);
    }

    public boolean isChecked() {
        return sysResources.isChecked();
    }

    public void setChecked(boolean checked) {
        sysResources.setChecked(checked);
    }

    public SysResources getParent() {
        return sysResources.getParent();
    }

    public void setParent(SysResources parent) {
        sysResources.setParent(parent);
    }

    public List<SysResources> getNodes() {
        return sysResources.getNodes();
    }

    public void setNodes(List<SysResources> nodes) {
        sysResources.setNodes(nodes);
    }

    public String getName() {
        return sysResources.getName();
    }

    public void setName(String name) {
        sysResources.setName(name);
    }

    public String getUrl() {
        return sysResources.getUrl();
    }

    public void setUrl(String url) {
        sysResources.setUrl(url);
    }

    public String getPermission() {
        return sysResources.getPermission();
    }

    public void setPermission(String permission) {
        sysResources.setPermission(permission);
    }

    public Long getParentId() {
        return sysResources.getParentId();
    }

    public void setParentId(Long parentId) {
        sysResources.setParentId(parentId);
    }

    public Integer getSort() {
        return sysResources.getSort();
    }

    public void setSort(Integer sort) {
        sysResources.setSort(sort);
    }
}
